package com.back.end.Modal;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.sql.Timestamp;
import java.util.List;

@Data
public class Order {
    private String id;
    private String title;
    private String customerName;
    private String phone;
    private double payment;
    private String orderStatus;
    private int waimai;
    private String customerAddress;
    private int customerId;
    private String notes;
    private List products;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Timestamp createdTime;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Timestamp updateTime;
    private int count;
}
